<?php

/**
 * @author Tan-Tan
 * @package SeoPortal
 * @subpackage Server
 */
class SendReportActivity extends Ezer_AsynchronousActivity
{
	public function execute(array $args)
	{
		$this->log("Executing Send Report Activity");
		
		$siteId = $args[CaseManager::VAR_SITE_ID];
		$reportId = $args[CaseManager::VAR_REPORT_ID];
		
		$users = SeoUserPeer::retrieveBySiteId($siteId);
		
		// TODO:
		// 1. create report
		// 2. send report by mail
			
		return true;
	}
}
